<script  lang="ts">
  export default {
    name: 'ScopeCategory',
    data() {
      return{
        games: ["英雄联盟", "Counter-Strike", "Dota2"],
      }
    }
  }
</script>

<template>
   <div>
     <h2>作用域插槽</h2>
     <slot name="game" :game="games" message="hello">没有值显示插槽内容</slot>
   </div>
</template>

<style scoped>

</style>
